﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Repository
{
    public class Diary
    {
        public Diary()
        {
        }
        [Key]
        public int DiaryId { get; set; }
        public string TableId { get; set; }
        public Users Player { get; set; }
        [Required]
        public string Move { get; set; }
        [Required]
        public bool Color { get; set; }
        [Required]
        public DateTime LastMove { get; set; }
        [Required]
        public bool Turn { get; set; }

    }
}
